export function getTodoList() {
  return JSON.parse(localStorage.getItem('todoList') || '[]')
}

export function setTodoList(todoList) {
  localStorage.setItem('todoList',JSON.stringify(todoList))
}